Developer Documentation

QuickTime 4 API Documentation

Inside Macintosh: Imaging with QuickDraw

Previous | Chapter Top | Chapter Contents | Next |

Using Pictures

To create a picture, you should

To open an existing picture, you should

To draw a picture, you should use the DrawPicture procedure.

To save a picture, you should

To conserve memory, you can spool large pictures to and from disk storage; you should

To gather information about a single picture, pixel map, or bitmap, you should

To gather information about multiple pictures, pixel maps, and bitmaps, you should

When you are finished using a picture (such as when you close the window containing it), you should

Before using the routines described in this chapter, you must use the InitGraf procedure, described in the chapter "Basic QuickDraw" in this book, to initialize QuickDraw. The routines in this chapter are available on all computers running System 7--including those supporting only basic QuickDraw. To test for the existence of System 7, use the Gestalt function with the gestaltSystemVersion selector. Test the low-order word in the response parameter; if the value is $0700 or greater, all of the routines in this chapter are supported.

On computers running only basic QuickDraw, the Picture Utilities return NIL in place of handles to Palette and ColorTable records.

Creating and Drawing Pictures

Opening and Drawing Pictures

Saving Pictures

Gathering Picture Information


© 1997 Apple Computer, Inc.

Previous | Chapter Top | Chapter Contents | Next